iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

MappedStatement.ExecuteQueryForRowDelegate Method (ISqlMapSession, Object, RowDelegate<T>)

Runs a query with a custom object that gets a chance to deal with each row as it is processed.

[Visual Basic]
Overridable Overloads Public Function ExecuteQueryForRowDelegate( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object, _
   ByVal RowDelegate<T> As RowDelegate{``0} _
) As IList{``0} _
    Implements IMappedStatement.
[C#]
public virtual IList<T> <T>ExecuteQueryForRowDelegate(
   ISqlMapSession session,
   Object parameterObject,
   RowDelegate<T> rowDelegate
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.
rowDelegate

Implements

IMappedStatement.

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace | MappedStatement.ExecuteQueryForRowDelegate Overload List